package com.lagou.io;

import java.io.InputStream;

/**
 * 根据文件路径加载成流
 *
 * @author srh
 * @date 2020/02/22
 **/
public class Resources {

    public static InputStream getResourceAsStream(String path) {
        return Resources.class.getClassLoader().getResourceAsStream(path);
    }

}
